<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	>

<h:head>
	<style type="text/css">
.ui-layout,.ui-layout-doc,.ui-layout-unit,.ui-layout-wrap,.ui-layout-bd,.ui-layout-hd
	{
	border: none;
}
 
</style>
 
</h:head>
<body style="background-image:url(fd.jpg);">
	<h:form>
	

   
		<p:fieldset legend="Espace Siège" style="margin-bottom:20px ;width:400px ;float:left;">
			
			<p:panel header="DRH" style="width:350px">
				<p:panelGrid columns="2" cellpadding="5"  >
					<h:outputLabel value="Login" />
					<p:inputText value="#{drhController.connectedUser.login}" />
					<h:outputLabel value="Mot de passe" />
					<p:inputText value="#{drhController.connectedUser.motDePasse}" />
					<f:facet name="footer">
						<p:commandButton action="#{drhController.connect()}"
							value="Connect" />
					</f:facet>
				</p:panelGrid>
			</p:panel>



			<p:panel header="Gestionnaire" style="width:350px">
				 <p:panelGrid columns="2">
					<h:outputLabel value="Login" />
					<p:inputText value="#{gestionnaireController.gestionnaire.login}" />
					<h:outputLabel value="Mot de passe" />
					<p:password
						value="#{gestionnaireController.gestionnaire.motdepasse}" />
					<f:facet name="footer">
						<p:commandButton action="#{gestionnaireController.connect()}"
							value="Connect" />
					</f:facet>
				</p:panelGrid>  
				</p:panel>
			
			</p:fieldset>
			<p:fieldset legend=" Espace Agence" style="margin-bottom:20px;width:400px ; float:410px">
			<p:panel header="Utilisateur" style="width:350px">
				  <p:panelGrid columns="2">
					<h:outputLabel value="Login" />
					<p:inputText value="#{utilisateurController.utilisateur.login}" />
					<h:outputLabel value="Mot de passe" />
					<p:password value="#{utilisateurController.utilisateur.motDePasse}" />
					<f:facet name="footer">
						<p:commandButton action="#{utilisateurController.connect()}"
							value="Connect" />
					</f:facet>
				</p:panelGrid> 
				</p:panel>
			</p:fieldset>
	</h:form>
</body>
</html>
